﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Doctor
{
    public interface IDoctorProfile
    {
        void AddUserToDoctor(int userId, DoctorType type, string descirption, bool verified, ref Model.NutriLeafDBEntities context); //user id is doctor profile Id

        DoctorType GetUserDoctorType(int userId, ref Model.NutriLeafDBEntities context); //get which doctor type is this user

        void RemoveDoctorProfile(int userId, ref Model.NutriLeafDBEntities context); //remove doctor status from user

        Model.DoctorProfile GetDoctorProfile(int userId, ref Model.NutriLeafDBEntities context); //this is doctorProfileId

        bool IsDoctor(int userId, ref Model.NutriLeafDBEntities context);

        bool IsInType(int doctorId, DoctorType type, ref Model.NutriLeafDBEntities context);


    }
}